package com.ctshk.rpc.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * t_user_passenger
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_user_passenger")
@ApiModel(value="用户常用旅客表")
public class Passenger extends BaseEntity {

    private static final long serialVersionUID = 3301203840674730899L;

    @ApiModelProperty(value="用户id")
    private Long userId;

    @ApiModelProperty(value="英文姓")
    private String enSurname;

    @ApiModelProperty(value="英文名")
    private String enName;

    @ApiModelProperty(value="英文全名")
    private String enFullname;

    @ApiModelProperty(value="称谓")
    private Integer appellation;

    @ApiModelProperty(value="联络电话")
    private String contactNumber;

    @ApiModelProperty(value="联络电话区号")
    private String contactMobileAreaCode;

    @ApiModelProperty(value="电邮")
    private String email;

    @ApiModelProperty(value="出生日期")
    private LocalDate birthday;

    @ApiModelProperty(value="国籍id")
    private Long nationalityId;

    @ApiModelProperty(value="国籍名称")
    private String nationalityName;

    @ApiModelProperty(value="是否同意存储,0否,1是")
    private Integer isAgreeToStore;

    @ApiModelProperty(value="创建人")
    private Long createId;

    @ApiModelProperty(value="修改人")
    private Long modifiedId;

    @ApiModelProperty(value="删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value="是否默认,0否1是")
    private Integer isDefault;
}